package com.skt.domain.VO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class AdminMerchantApprovalVO {

    @Schema(description = "用户ID", example = "1001")
    private Long id;

    @Schema(description = "用户名", example = "merchant_001")
    private String username;

    @Schema(description = "真实姓名", example = "张三")
    private String realName;

    @Schema(description = "店铺名称", example = "盛唐华服馆")
    private String shopName;

    @Schema(description = "手机号（已脱敏）", example = "138****1234")
    private String phone;

    @Schema(description = "邮箱", example = "zhangsan@example.com")
    private String email;

    @Schema(description = "商家状态：0-待审核，1-已通过，2-已拒绝", example = "1")
    private Integer status;

    @Schema(description = "审核通过时间", example = "2025-10-23T14:30:00")
    private java.time.LocalDateTime approvedAt;

    @Schema(description = "审核人ID", example = "1")
    private Long approvedBy;

    // ========== 新增：拒绝相关字段 ==========
    @Schema(description = "拒绝时间", example = "2025-10-23T15:00:00")
    private java.time.LocalDateTime rejectedAt;

    @Schema(description = "拒绝人ID", example = "1")
    private Long rejectedBy;

    @Schema(description = "拒绝原因", example = "营业执照不清晰，请重新上传")
    private String rejectionReason;
    // ===================================

    @Schema(description = "创建时间", example = "2025-10-20T10:00:00")
    private java.time.LocalDateTime createdAt;

    @Schema(description = "最后更新时间", example = "2025-10-23T14:30:00")
    private java.time.LocalDateTime updatedAt;
}